package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 驾驶员信息对象 driver_info
 * 
 * @author ruoyi
 * @date 2025-04-05
 */
public class DriverInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驾驶员ID */
    private Long id;

    /** 全局唯一的驾驶员编号 */
    @Excel(name = "驾驶员编号")
    private String driverNumber;

    /** 部门ID */
    private Long deptId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 驾驶员姓名 */
    @Excel(name = "驾驶员姓名")
    private String driverName;

    /** 驾驶证号码 */
    @Excel(name = "驾驶证号码")
    private String driverLicense;

    /** 逻辑删除标记，0表示未删除，1表示已删除 */
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDriverNumber(String driverNumber) 
    {
        this.driverNumber = driverNumber;
    }

    public String getDriverNumber() 
    {
        return driverNumber;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setDriverLicense(String driverLicense) 
    {
        this.driverLicense = driverLicense;
    }

    public String getDriverLicense() 
    {
        return driverLicense;
    }
    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverNumber", getDriverNumber())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("driverName", getDriverName())
            .append("driverLicense", getDriverLicense())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
